<template>
  <div class="center-top">
    <slot></slot>
    <div class="center-right">
      <a href="javascript:;">
        <span>查看更多</span>
        <div class="point">
          <span class="el-icon-arrow-right"></span>
        </div>
      </a>
    </div>
  </div>
</template>

<script>
export default {
  name: "TopBar",
};
</script>

<style lang="less">
.center-top {
  width: 1226px;
  margin: 0 auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  height: 58px;
  justify-content: space-between;
  .center-left {
    font-size: 22px;
    font-weight: 200;
  }
  .center-right {
    a {
      color: black;
      display: flex;
      .point {
        margin-left: 10px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #999;
        span {
          margin-left: 3px;
          font-weight: 600;
          color: #fff;
        }
      }
    }
    a:hover {
      color: #ff6700;
    }
    a:hover .point {
      background-color: #ff6700;
    }
  }
}
</style>